package com.qcby.testservice.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 演示枚举
 *
 * @author cong.zhen
 * @date 2023/04/21
 */
@Getter
@AllArgsConstructor
public enum DemoEnums {

    ENABLE(0, "开启"),
    DISABLE(1, "关闭");

    /**
     * 状态值
     */
    private final Integer code;
    /**
     * 状态名
     */
    private final String name;
}
